<include file="Public/header" title="添加banner" />
<div class="col-md-6" style="width: 200px;height: 200px;margin: 10% 40%">
    <div id="show_img">

    </div>
    <form method="POST" name="addnews" action="{:U('Banner/add')}">
    	<div class="form-group">
            <label for="aa">标题</label>
            <input type="text" name="title"  class="form-control" placeholder="输入标题">
           
        </div>
        <div class="form-group">
            <label for="aa">介绍</label>
           
           <input type="text" name="introduce"  class="form-control" placeholder="输入介绍">
        </div>
    	<!-- <input type="text" name="title"  placeholder="标题">
        <input type="text" name="introduce" placeholder="介绍"> -->



        <button class="btn btn-success fileinput-button" type="button" id="upbanner">上传封面图</button>

        <input type="file" id="banner" name="banner" style="display: none">
        <input type="hidden" value="" name="img_url" id="save_thumb_path" class="save_banner_path">
        <button type="submit" class="btn btn-success fileinput-button">提交</button>
    </form>

</div>
<include file="Public/footer" />
<script charset="utf-8" src="__PUBLIC__/js/upImg.js"></script>
